<?php
namespace app\index\Validate;
use think\Validate;

class Phone extends Validate{
    protected $rule=[
        'phone'=>'require|mobile'
    ];
}